<?php
/**
 * 借款申请单
 * Created by PhpStorm.
 * User: 23783
 * Date: 2018/3/13
 * Time: 13:54
 */
namespace Controllers\Category;

use Controllers\Pdf\ApplicationLoanPdf;

class ApplicationLoan extends BaseConreollers {

    protected  $pdf;
    public function __construct()
    {
        //父类的__construct都继承下来
        parent::__construct();
        $this->pdf  =new ApplicationLoanPdf();
    }

    function GetWorkflowState($document_id){
        if (isset($document_id)) {
            $result  = parent::BaseGetWorkflowState($document_id);
            $this->pdf->CreatePdfDocument($result);
        }
    }
}